package com.emergency.db.service.staff;


import com.emergency.db.domain.staff.Staff;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

//员工信息总表服务
public interface StaffService {
    Long save(Staff staff);

    void saveAll(List<Staff> staffList);

    Staff findById(Long id);

    List<Staff> findAll();

    void delete(Long id);

    Page<Staff> findList(Map searchMap, int page, int size);
}
